package com.zhuojy.equity.mall.admin.common.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuojy.equity.mall.admin.common.annotation.ExcelExport;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 资金流水多表导出
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class TFlowExportEntity implements Serializable {
    private static final long serialVersionUID = -5891742796236483546L;
    @ExcelExport(value = "单据编号",sort = 1)
    private Long id;
    @ExcelExport(value = "往来单位",sort = 2)
    private String correspondents;
    @ExcelExport(value = "收入金额",sort = 3)
    private BigDecimal revenueMoney;
    @ExcelExport(value = "支出金额",sort = 4)
    private BigDecimal outlayMoney;
    @ExcelExport(value = "账户名称",sort = 5)
    private String accountName;
    @ExcelExport(value = "账户余额",sort = 6)
    private BigDecimal accountBalance;
    @ExcelExport(value = "业务日期",sort = 7)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date businessTime;
    @ExcelExport(value = "记账时间",sort = 8)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date billingTime;
    @ExcelExport(value = "操作员",sort = 9)
    private String nickName;
}
